<template>
	<view class="box">
		<view class="item">
			<!-- <u--image mode="aspectFit" :showLoading="true"
				src="https://gitee.com/XM1126/chunqing-miniprogram/raw/281848ceb86965f800858d691d427705e77f994b/static/products/%E5%A3%81%E6%8C%82%E7%82%89.png"
				width="750rpx"></u--image> -->
			<u-swiper :list="list" height="300" imgMode="aspectFit" radius="0" indicator="true"></u-swiper>
		</view>
		<view class="item-header">
			<view class="name">1.2立方撬装加注机</view>
			<!-- <u--text text="带风机不锈钢电子脉冲打火醇油猛火灶aaaaaaa" :lines="2" size=12></u--text> -->
			<!-- <view class="bottom">
				<u--text text="￥" color="#F21E46"></u--text>
				<u--text text="4185" color="#F21E46" size=26 lineHeight="1em"></u--text>
				<u--text text="起" color="#767676" size=12 margin="0 0 0 10rpx"></u--text>
				<u--text text="可获得积分4185" color="#767676" size=12 margin="0 0 0 10rpx"></u--text>
				<u-icon name="plus-circle-fill" color="#2979ff" size="28"></u-icon>
			</view> -->
		</view>

		<view class="content">
			<view class="title">产品参数</view>
			<view class="param-list">
				<view>型号：ZS1901</view>
				<view>尺寸：2380*1250*650mm</view>
				<view>功能介绍</view>
				<view>高精度活塞流量计·静电释放器·语音播报</view>
				<view>金属软管布线 ·防爆通讯盒 ·金属键盘 </view>
				<view>防作弊显示屏 ·急停开关 ·自封油枪 </view>
				<view>预留：IC卡功能、打印机</view>

				<view>技术参数</view>
				<view>流量范围：4~40L/min</view>
				<view>噪音：≤80dB(A)·进口真空度：≥54kPa</view>
				<view>重复性：0.15%</view>
				<view>进口方式：下进油(1.5寸)</view>
				<view>电源：AC220V50Hz/AC380V50Hz</view>
				<view>额定功率：750W;1100W</view>
				<view>环境温度：-40℃~+55℃</view>
				<view>最大允许误差：±0.3%</view>
				<view>最小被测量：4L</view>
				<view>单次计数范围：金额：0~9999.99元</view>
				<view>累计计数范围：金额：0~999999.99元</view>
				<view>单价范围：0~99.99元/L</view>
				<view>相对湿度：30%~90%</view>
			</view>
		</view>
	</view>
</template>
<script >
export default {
	data() {
		return {
			list: [
				'https://gitee.com/XM1126/chunqing-miniprogram/raw/master/static/products/%E5%8A%A0%E6%B3%A8%E6%9C%BA.png',
				'https://gitee.com/XM1126/chunqing-miniprogram/raw/master/static/products/%E5%8A%A0%E6%B3%A8%E6%9C%BA2.png',
			],
			current: 0
		}
	},
	methods: {
		change(index) {
			console.log(index)
			this.current = index.index
		},
		// 跳转页面
		goToInput() {
			uni.navigateTo({
				url: '/pages/products/inputVin'
			})
		}
	}
}

</script>
<style lang="scss" scoped>
::v-deep text {
	white-space: normal !important;
}

.box {
	background-color: #F4F5F7;
	min-height: 100%;

}

.item {
	width: 100%;
	background-color: white;
	padding-bottom: 40rpx;
}

.item-header {
	padding: 20rpx;
	background-color: #fff;
	border-radius: 20rpx 20rpx 0 0;
	box-shadow: 0 -3px 10px -2px rgba(0, 0, 0, .1);
	margin-top: -10px;
	position: relative;

	.name {
		font-weight: bold;
	}

	.bottom {
		display: flex;
		flex-direction: row;
		margin-top: 30rpx;

		::v-deep .u-text__value {
			white-space: nowrap !important;
			align-self: flex-end;
		}

		::v-deep .u-text {
			flex: 0;
		}

		::v-deep .u-icon {
			margin-left: auto;
		}
	}
}

.content {
	background-color: #fff;
	padding: 40rpx;
	margin-top: 20rpx;


	.title {
		font-weight: bold;
		margin-bottom: 10rpx;

	}

	.info {
		font-size: 28rpx;
		line-height: 40rpx;
	}

	.mt20 {
		margin-top: 20rpx;
	}

}

.param-list {
	view {
		font-size: 28rpx;
		padding: 10rpx 0;
	}
}
</style>
